package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * DDOS攻击表对象 tb_ddos
 * 
 * @author zhh
 * @date 2025-02-20
 */
public class TbDdos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String ddosId;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 机构代码 */
    @Excel(name = "机构代码")
    private String institutionCode;

    /** 机构简称 */
    @Excel(name = "机构简称")
    private String institutionShort;

    /** 攻击目的地址 */
    @Excel(name = "攻击目的地址")
    private String destinationIp;

    /** 攻击目标系统 */
    @Excel(name = "攻击目标系统")
    private String targetSystem;

    /** 攻击类型 */
    @Excel(name = "攻击类型")
    private String attackType;

    /** 攻击类型细分子类 */
    @Excel(name = "攻击类型细分子类")
    private String attackTypeSub;

    /** 攻击流量 */
    @Excel(name = "攻击流量")
    private String attackFlow;

    /** 攻击源地址 */
    @Excel(name = "攻击源地址")
    private String sourceIp;

    /** 推送状态 */
    @Excel(name = "推送状态")
    private String status;

    /** 指标有效标志 */
    @Excel(name = "指标有效标志")
    private String delFlag;

    public void setDdosId(String ddosId) 
    {
        this.ddosId = ddosId;
    }

    public String getDdosId() 
    {
        return ddosId;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setInstitutionCode(String institutionCode) 
    {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() 
    {
        return institutionCode;
    }
    public void setInstitutionShort(String institutionShort) 
    {
        this.institutionShort = institutionShort;
    }

    public String getInstitutionShort() 
    {
        return institutionShort;
    }
    public void setDestinationIp(String destinationIp) 
    {
        this.destinationIp = destinationIp;
    }

    public String getDestinationIp() 
    {
        return destinationIp;
    }
    public void setTargetSystem(String targetSystem) 
    {
        this.targetSystem = targetSystem;
    }

    public String getTargetSystem() 
    {
        return targetSystem;
    }
    public void setAttackType(String attackType) 
    {
        this.attackType = attackType;
    }

    public String getAttackType() 
    {
        return attackType;
    }
    public void setAttackTypeSub(String attackTypeSub) 
    {
        this.attackTypeSub = attackTypeSub;
    }

    public String getAttackTypeSub() 
    {
        return attackTypeSub;
    }
    public void setAttackFlow(String attackFlow) 
    {
        this.attackFlow = attackFlow;
    }

    public String getAttackFlow() 
    {
        return attackFlow;
    }
    public void setSourceIp(String sourceIp) 
    {
        this.sourceIp = sourceIp;
    }

    public String getSourceIp() 
    {
        return sourceIp;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ddosId", getDdosId())
            .append("time", getTime())
            .append("institutionCode", getInstitutionCode())
            .append("institutionShort", getInstitutionShort())
            .append("destinationIp", getDestinationIp())
            .append("targetSystem", getTargetSystem())
            .append("attackType", getAttackType())
            .append("attackTypeSub", getAttackTypeSub())
            .append("attackFlow", getAttackFlow())
            .append("sourceIp", getSourceIp())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
